package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_xz_banner" )
@Table( name ="t_xz_banner" )
public class Banner  implements Serializable {


	/**
	 * id 
	 */
	@Id
   	@Column(name = "banner_id",updatable = false )
	@ApiModelProperty( value="id ")
	private Integer bannerId;

	/**
	 * 图片地址
	 */
   	@Column(name = "picture_address" )
	@ApiModelProperty( value="图片地址")
	private String pictureAddress;

	/**
	 * 跳转链接地址
	 */
   	@Column(name = "picture_url" )
	@ApiModelProperty( value="跳转链接地址")
	private String pictureUrl;

	/**
	 * 图片状态0下架
	 */
   	@Column(name = "picture_status" )
	@ApiModelProperty( value="图片状态0下架 ")
	private Integer pictureStatus;

	/**
	 * 关联百科id
	 */
   	@Column(name = "banding_id" )
	@ApiModelProperty( value="关联百科id")
	private Integer bandingId;

	/**
	 * 开始时间
	 */
   	@Column(name = "start_time" )
	@ApiModelProperty( value="开始时间")
	private String startTime;

	/**
	 * 结束时间
	 */
   	@Column(name = "end_time" )
	@ApiModelProperty( value="结束时间")
	private String endTime;
	/**
	 * 结束时间
	 */
	@Column(name = "flag" )
	@ApiModelProperty( value="-1无关联 0 关联商品 1 关联文章 2关联视频")
	private Integer flag;

	/**
	 * 0为头部轮播图，1为活动一，2为活动二，等等
	 */
	@Column(name = "banner_style" )
	@ApiModelProperty( value="0为头部轮播图，1为活动一，2为活动二，等等")
	private Integer bannerStyle;

	public Integer getBannerStyle() {
		return bannerStyle;
	}

	public void setBannerStyle(Integer bannerStyle) {
		this.bannerStyle = bannerStyle;
	}

	@Transient
	private String BandingName;



  public String getPictureAddress() {
    return pictureAddress;
  }

  public void setPictureAddress(String pictureAddress) {
    this.pictureAddress = pictureAddress;
  }


  public String getPictureUrl() {
    return pictureUrl;
  }

  public void setPictureUrl(String pictureUrl) {
    this.pictureUrl = pictureUrl;
  }





  public String getStartTime() {
    return startTime;
  }

  public void setStartTime(String startTime) {
    this.startTime = startTime;
  }


  public String getEndTime() {
    return endTime;
  }

  public void setEndTime(String endTime) {
    this.endTime = endTime;
  }

    public Integer getBandingId() {
        return bandingId;
    }

    public void setBandingId(Integer bandingId) {
        this.bandingId = bandingId;
    }

	public Integer getBannerId() {
		return bannerId;
	}

	public void setBannerId(Integer bannerId) {
		this.bannerId = bannerId;
	}



	public Integer getPictureStatus() {
		return pictureStatus;
	}

	public void setPictureStatus(Integer pictureStatus) {
		this.pictureStatus = pictureStatus;
	}



	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getBandingName() {
		return BandingName;
	}

	public void setBandingName(String bandingName) {
		BandingName = bandingName;
	}
}
